Scroll to navigation

lsm_disk_id_get(3) Libstoragemgmt C API Manual lsm_disk_id_get(3)

NAME

lsm_disk_id_get - Retrieves the ID of the disk.

SYNOPSIS

const char * lsm_disk_id_get (lsm_disk *d);

ARGUMENTS

Disk to retrieve id for.

VERSION

1.0

DESCRIPTION

Retrieves the ID for the disk.

NOTE

Address returned is valid until lsm_disk gets freed, copy return value if you need longer scope. Do not free returned string.

RETURN

string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer.

lsm_disk_id_get April 2021